package org.sample.cucumber;

import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;

public class SimpleText {
	
	@Given("I have (\\d+) cukes in my belly")
    public void getCukesNumber(int cukes) {
        System.out.format("Cukes: %d\n", cukes);
    }
	
	@When("Cukes is more than (\\d+)")
	public void checkLeast(int cukes) {
		System.out.format("Least: %d\n", cukes);
	}
	
	@Then("Show (\\w+)")
	public void showResult(String result) {
		System.out.println(result);
	}
	
}
